<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <base href="${pageContext.request.contextPath}/"/>
    <link rel="stylesheet" href="static/css/bootstrap.css">
</head>
<body>
    <div class="container" style="width:65%;margin-top:65px">
        <div class="panel panel-default">
            <div class="panel-heading">
               <h4>用户登录</h4>
            </div>
            <div class="panel-body">
                <form method="post" action="${pageContext.request.contextPath}/login">
                    <div class="form-group">
                        <span style="color:red">${error}</span>
                    </div>
                    <div class="form-group">
                        <label for="">用户名：</label>
                        <div class="input-group">
                        <span class="input-group-addon">
                            <i class="glyphicon glyphicon-user"></i>
                        </span>
                            <input type="text" name="userCode" class="form-control input-lg"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="">密码：</label>
                        <div class="input-group">
                            <span class="input-group-addon">
                                <i class="glyphicon glyphicon-lock"></i>
                            </span>
                            <input type="text" name="password" class="form-control input-lg"/>
                        </div>
                    </div>
                    <div class="form-group">
            <button type="submit" class="btn btn-primary pull-right col-md-4">登 录</button>
                    </div>
                </form>
            </div>
        </div>



    </div>
</body>
</html>
